<%--
  Created by IntelliJ IDEA.
  User: Distance
  Date: 2021/10/18
  Time: 21:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
   <%
       pageContext.setAttribute("key1","pageContext");
       request.setAttribute("key1","request");
       session.setAttribute("key1","session");
       application.setAttribute("key1","application");
   %>
${key1} 如果你这样只能一直得到最小的 <br>
但是如果我们想要获得指定的 你就可以使用相应域的scope对象
${requestScope.key1} <br> 其他域也是一样
<br>

</body>
</html>
